import request from "@/utils/request";

export function generateReport(data: { childUid: string; menuId: string }) {
  return request({
    url: `/api/v1/report/generate-task`,
    method: "post",
    data,
  });
}

export function getReport(taskId: string) {
  return request({
    url: `/api/v1/report/${taskId}/check-status`,
    method: "get",
  });
}
